Mining unit tests for code recommendation (2014)
Proceedings of the 22nd International Conference on Program Comprehension
どんなもの?
hr.icon
先行研究と比べてどこがすごい?
test -> code の結びつけ
既存研究は class 単位での結びつけだけ
この研究では assertionの直前にある、assertionに影響のあるメソッドを unit under test ということにすることで method - test の結びつけを行う
we look for the last method invocation which then affects the assertions
Eclipse JDT plugin で実装
Dynamic program slicing を活用
hr.icon
技術や手法のキモはどこ?
hr.icon
どうやって有効だと検証した?
hr.icon
議論はある?
hr.icon
次に読むべき論文は?
テストケースは code example として優れているよということを示す論文
テスト -> code の結びつけ
LCBA (Last Call Before Assert) assumes that test methods call the actual tested class immediately before an assert statement, however, it fails when for some reasons except verifying the behavior of the unit under test, there is a call to a method from a class that is not the one under test
これは dynamic slicing 使ってないのか
こっちは dynamic slicing 使って 直前のメソッド呼び出し
class level での granurality
別に論文見なくても教科書あるんじゃね
テストケースの類似性
重複したテストの除去に使える
code mining 関連